package com.gk.panda.apis.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gk.panda.commons.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel("生物附件查询实体")
public class BiologyFileSearchDto extends BaseDto {

    @ApiModelProperty(value = "生物名称")
    private String biologyName;

    @ApiModelProperty(value = "生物类别（0-动物，1-植物）",required = true)
    private Integer biologyKingdom;

    @ApiModelProperty(value = "文件类型（0-图片，1-视频",required = true)
    private Integer type;

    @ApiModelProperty(value = "机构id")
    private List<Integer> orgIds;

    @ApiModelProperty(value = "起始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty(value = "终止时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
